 package com.gmrz.uaf.servlet.v1.request;

 import com.gmrz.uaf.protocol.v1.schema.DeviceDetails;
 import com.google.gson.annotations.Expose;

 public class UpdateCertContext implements RequestContext{

   @Expose
   private String transNo;
   @Expose
   private String userName;
   @Expose
   private String rf1;
   @Expose
   private String rf2;
   @Expose
   private String appID;
   @Expose
   private String transType;
   @Expose
   private String authType;
   @Expose
   private DeviceDetails devices;
   @Expose
   private String authExt;
   @Expose
   private String regExt;
   @Expose
   private String dn;
   @Expose
   private String mobile;
   @Expose
   private String custType;
   @Expose
   private String regFrom;


   @Expose
   private String instCode;


   public String getInstCode() {
     return instCode;
   }

   public void setInstCode(String instCode) {
     this.instCode = instCode;
   }

   @Override
   public String getTransNo() {
     return transNo;
   }

   public void setTransNo(String transNo) {
     this.transNo = transNo;
   }

   @Override
   public String getUserName() {
     return userName;
   }

   public void setUserName(String userName) {
     this.userName = userName;
   }

   public String getRf1() {
     return rf1;
   }

   public void setRf1(String rf1) {
     this.rf1 = rf1;
   }

   public String getRf2() {
     return rf2;
   }

   public void setRf2(String rf2) {
     this.rf2 = rf2;
   }

   @Override
   public String getAppID() {
     return appID;
   }

   public void setAppID(String appID) {
     this.appID = appID;
   }

   public String getTransType() {
     return transType;
   }

   public void setTransType(String transType) {
     this.transType = transType;
   }

   public DeviceDetails getDevices() {
     return devices;
   }

   public void setDevices(DeviceDetails devices) {
     this.devices = devices;
   }

   public String getAuthType() {
     return authType;
   }

   public void setAuthType(String authType) {
     this.authType = authType;
   }

   public String getDn() {
     return dn;
   }

   public void setDn(String dn) {
     this.dn = dn;
   }

   public String getMobile() {
     return mobile;
   }

   public void setMobile(String mobile) {
     this.mobile = mobile;
   }

   public String getAuthExt() {
     return authExt;
   }

   public void setAuthExt(String authExt) {
     this.authExt = authExt;
   }

   public String getRegExt() {
     return regExt;
   }

   public void setRegExt(String regExt) {
     this.regExt = regExt;
   }

   public String getCustType() {
     return custType;
   }

   public void setCustType(String custType) {
     this.custType = custType;
   }

   public String getRegFrom() {
     return regFrom;
   }

   public void setRegFrom(String regFrom) {
     this.regFrom = regFrom;
   }

   @Override
   public String toString() {
     return "UpdateCertContext{" +
             "userName='" + userName + '\'' +
             ", rf1='" + rf1 + '\'' +
             ", rf2='" + rf2 + '\'' +
             ", appID='" + appID + '\'' +
             ", transType='" + transType + '\'' +
             ", authType='" + authType + '\'' +
             ", deviceID=" + devices.getDeviceID() +
             ", authExt='" + authExt + '\'' +
             ", regExt='" + regExt + '\'' +
             ", dn='" + dn + '\'' +
             '}';
   }
 }
